package cc.miwuya.owner.service;

import cc.miwuya.owner.domain.User;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 杩烽浘妫灄
* @description 针对表【user】的数据库操作Service
* @createDate 2024-02-22 20:13:04
*/
public interface UserService extends IService<User> {

    User getUserByUsername(String username);

    Object getPage(Page page, String username);

    Object getUserRole(Long id);

    User getCurrentUser();
    Long getCurrentUsrId();
}
